package com.xjrsoft.module.login.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @Author: tzx
 * @Date: 2022/9/13 10:41
 */
@Data
public class WxLoginInfoDto {
    /**
     * 授权code 如果有授权code  就不用openid 和 账户密码了
     */
    private String code;

    /**
     * 如果有openid  就不需要code
     */
    private String openId;

    @ApiModelProperty(value = "账号")
    private String account;

    @ApiModelProperty(value = "密码")
    private String password;

    @ApiModelProperty(value = "验证码")
    private String smsCode;

    @ApiModelProperty(value = "设备 PC 或者  APP")
    private String device = "wx";
}
